using Sirenix.OdinInspector.Demos;
using Sirenix.OdinInspector.Editor;
using Sirenix.Utilities;
using Sirenix.Utilities.Editor;
using UnityEditor;
using UnityEngine;

namespace Game.Scripts.Editor
{
    public class PopupStateEditor : OdinEditorWindow
    {
        
        
        [MenuItem("Tools/Ikun/PopupStateEditor Editor")]
        private static void OpenWindow()
        {
            PopupStateEditor window = GetWindow<PopupStateEditor>();

            // Nifty little trick to quickly position the window in the middle of the editor.
            window.position = GUIHelper.GetEditorWindowRect().AlignCenter(700, 700);
        }
    }
}